package JPetStore.service;

import JPetStore.domain.Log;
import JPetStore.persistence.LogDAO;
import JPetStore.persistence.impl.LogDAOImpl;

public class LogService {
    Log log = new Log();
    private LogDAO logDAO = new LogDAOImpl();

    public LogService() {
    }

    public String logInfo(Object... s) {
        Log var10000 = this.log;
        return Log.logInfomation(s);
    }

    public void insertLogInfo(String username, String logInfo) {
        this.logDAO.insertLog(username, logInfo);
    }
}